CFLAGS = -g -Wall -O2 --std=c99 -lm
# CFLAGS = -g --std=c99
TARGETS = bin/test002 bin/test011 bin/test013 bin/test014 bin/test015 bin/test016 bin/test017 bin/test018 bin/test019 bin/test020 bin/test021 bin/test022 bin/test023 bin/test024 bin/test025 bin/test026 bin/test029 bin/test031 bin/test031_2 bin/test035 bin/test036 bin/test037 bin/test038 bin/test039 bin/test040 bin/test042 bin/test043 bin/test044 bin/array01 bin/array02 bin/array03 bin/array04 bin/array05 bin/array06 bin/array07 bin/array08 bin/pointer01 bin/pointer02 bin/pointer03 bin/pointer04 bin/pointer05 bin/pointer06 bin/function01 bin/function02 bin/function03 bin/function04 bin/function05 bin/function06 bin/function07 bin/function08 bin/function09 bin/function10 bin/function11 bin/function12 bin/struct02 bin/struct03 bin/struct04 bin/struct05 bin/struct06 bin/struct07 bin/struct08 bin/struct09 bin/test01 bin/test02 bin/struct10 bin/struct11 bin/struct12 bin/struct13 bin/struct14 bin/stringfunction bin/voidpointer bin/malloc bin/malloc02 bin/file bin/fileread

TARGETS2=bin2/function13

all: $(TARGETS2) $(TARGETS)
	@echo "helloworld"

bin/%: src/%.c
	gcc $(CFLAGS) $< -o $@

bin2/%: src2/function13.c src2/fadd.c src2/fsub.c
	gcc $(CFLAGS) $< -o $@

# bin/%: build/%.o
# 	gcc $(CFLAGS) $< -o $@
#
# build/%.o: src/%.c
# 	gcc $(CFLAGS) -c $< -o $@

clean:
	rm -rf $(TARGETS) $(OBJECTS)
